Class NativeMethods

    ' This function is used in the ProcessesLocal class to determine if the Window(s) associated with a process is Visible
    <Runtime.InteropServices.DllImport("user32.dll", SetLastError:=True)> _
    Friend Shared Function IsWindowVisible(ByVal hwnd As IntPtr) As Boolean
    'Private Shared Function IsWindowVisible(ByVal hwnd As IntPtr) As <MarshalAs(UnmanagedType.Bool)> Boolean
        ' NOTE: commenting out the <MarshalAs> tag, since that's not currently specified on the pInvoke.net site.
    End Function

End Class
